package top.fangw.common.flyway.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.fangw.common.flyway.util.CreateDatabase;
import top.fangw.common.flyway.util.CreateTable;

/**
 * @description:
 * @author: fgw
 * @createDate: 2024/1/11
 */
@Configuration
public class FlywayConfig {

    @Bean
    public CreateTable createTable(){
        return new CreateTable();
    }

    @Bean
    public CreateDatabase createDatabase(){
        return new CreateDatabase();
    }
}
